const router = require('koa-router')()
/**
 * @swagger
 * definitions:
 *   good:
 *     properties:
 *       name:
 *         type: string
 *       price:
 *         type: Float
 *       num:
 *         type: integer
 *       type:
 *         type: string
 */
/**
 * @swagger
 * /good/list:
 *   get:
 *     tags:
 *       - 商品
 *     description: Returns all user
 *     produces:
 *       - application/json
 *     responses:
 *       200:
 *         description: An array of user
 *         schema:
 *           $ref: '#/definitions/good'
 */
router.get('/index', async (ctx, next) => {
 ctx.body = 'asdasdasd'
})

module.exports = router